package de.nak.fireDepartment.logger;

import org.apache.log4j.Logger;

/**
 * Class for initiating a Log4JLogger
 * @author Sven Redelin
 *
 */
public class MyLog4JLogger
{
	/**
	 * the Logger
	 */
	private static Logger logger;

	/**
	 * Constructor for the Logger
	 */
	public MyLog4JLogger(){
		logger = Logger.getLogger(Logger.class);
	    /*logger.debug("");
	    logger.info("");
	    logger.warn("");
	    logger.error("");
	    logger.fatal("");*/
	    logger.info("Log4J-Logger started");
	}
  
	/**
	 * Get Logger
	 * @return the logger
	 */
	public static Logger getLogger(){
		return logger;
	}
}
